package com.itfreer.gis.entity;

import java.io.Serializable;

import com.itfreer.form.dictionary.reflect.DictionaryField;

/**
 * 图层信息表
 */
public class GisLayerConfigEntity implements Serializable {

	private static final long serialVersionUID = 7557174929236711749L;

	private String id;
	
	/**
	 * 图层名称
	 */
	private String name;

	/**
	 * 类型
	 */
	@DictionaryField(dictionaryName="g_layertype", toFieldName="typeName")
	private String type;
	
	/**
	 * 类型
	 */
	private String typeName;

	/**
	 * 显示索引
	 */
	private Integer index;

	/**
	 * 要显示的图层ID集合
	 */
	private String showids;

	/**
	 * 地址
	 */
	private String url;

	/**
	 * 2维下是否显示
	 */
	private Boolean show2D;
	
	/**
	 * 3维下是否显示
	 */
	private Boolean show3D;
	
	/**
	 * 2维下是否加载
	 */
	private Boolean valid2D;
	
	/**
	 * 3维下是否加载
	 */
	private Boolean valid3D;
	
	/**
	 * 分组名称
	 */
	private String groupname;

	/**
	 * 透明度
	 */
	private Double transparency;

	/**
	 * 图层过滤
	 */
	private String definitions;
	
	/**
	 * 所属应用程序
	 */
	@DictionaryField(dictionaryName="p_register_service", toFieldName="registerServiceName")
	private String registerService;
	
	/**
	 * 所属应用程序名称 用于转义
	 */
	private String registerServiceName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getShowids() {
		return showids;
	}

	public void setShowids(String showids) {
		this.showids = showids;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Boolean getShow2D() {
		return show2D;
	}

	public void setShow2D(Boolean show2d) {
		show2D = show2d;
	}

	public Boolean getShow3D() {
		return show3D;
	}

	public void setShow3D(Boolean show3d) {
		show3D = show3d;
	}

	public Boolean getValid2D() {
		return valid2D;
	}

	public void setValid2D(Boolean valid2d) {
		valid2D = valid2d;
	}

	public Boolean getValid3D() {
		return valid3D;
	}

	public void setValid3D(Boolean valid3d) {
		valid3D = valid3d;
	}

	public String getGroupname() {
		return groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

	public Double getTransparency() {
		return transparency;
	}

	public void setTransparency(Double transparency) {
		this.transparency = transparency;
	}

	public String getDefinitions() {
		return definitions;
	}

	public void setDefinitions(String definitions) {
		this.definitions = definitions;
	}

	public String getRegisterService() {
		return registerService;
	}

	public void setRegisterService(String registerService) {
		this.registerService = registerService;
	}

	public String getRegisterServiceName() {
		return registerServiceName;
	}

	public void setRegisterServiceName(String registerServiceName) {
		this.registerServiceName = registerServiceName;
	}
}